package com.daidai.test;

import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment;

public class Nctest {
    public static void main(String[] args) throws Exception {

        StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment();
        env.socketTextStream("daidai", 9999).print();

        env.execute();

    }
}
